package com.coffeeloversupportlibrary.coffeelover.domain.dailyshare.entity.share;

import java.util.List;

/**
 * @author puyv
 * @createTime 2021/11/23 11:41
 * @projectName CoffeeLoverSupportLibrary
 * @className OringinShare.java
 * @description TODO
 */
public class OriginDailyContent {
    private Boolean success;
    private Integer code;
    private String message;
    private DataDTO data;
    public static class DataDTO {
        private List<ListDTO> list;
        public static class ListDTO {
            private Integer id;
            private String userId;
            private String userName;
            private String shareContent;
            private String createTime;
            private List<PicListDTO> picList;
            private Integer count;
            private String userImg;
            public static class PicListDTO {
                private Integer id;
                private Integer shareId;
                private String shareImg;
                private Integer imgOrder;

                public Integer getId() {
                    return id;
                }

                public Integer getShareId() {
                    return shareId;
                }

                public String getShareImg() {
                    return shareImg;
                }

                public Integer getImgOrder() {
                    return imgOrder;
                }
            }

            public List<PicListDTO> getPicList() {
                return picList;
            }

            public Integer getId() {
                return id;
            }

            public String getUserId() {
                return userId;
            }

            public String getUserName() {
                return userName;
            }

            public String getShareContent() {
                return shareContent;
            }

            public String getCreateTime() {
                return createTime;
            }

            public Integer getCount() {
                return count;
            }

            public String getUserImg() {
                return userImg;
            }
        }

        public List<ListDTO> getList() {
            return list;
        }
    }

    public Boolean getSuccess() {
        return success;
    }

    public List<DataDTO.ListDTO> getShareList(){
        return this.data.getList();
    }

    public String getMessage() {
        return message;
    }
}
